import { createApp } from 'vue'
import App from './App.vue'
// import './index.css'
import router from './router'
import { store } from './store'

import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
// import Header from "/@/components/Header.vue";

const { ipcRenderer } = window.require("electron");


ipcRenderer.on("close", () => {
    // storage.set("state", store.state);
});

const app = createApp(App)

app.use(router)
app.use(store)
app.use(ElementPlus)

// app.component('MyHeader', Header)

app.mount('#app')
